#ifndef PIECE_H
#define PIECE_H

#include <iostream>
#include <string>

using namespace std;

class Piece
{
	friend ostream& operator<<(ostream&, const Piece&);
	public:
		Piece(void);
		Piece(int, int, bool);
		void setRank(int);
		void setOwner(int);
		int getRank(void) const;
		string getDescr(void) const;
		char getShortDescr(void) const;
		int getOwner(void) const;
		void setKnown(bool);
		bool getKnown();

	private:
		int rank;
		string descr;
		char shortDescr;
		int owner;
		bool known;
};

#endif

